

export const BLOCK_TAGS = {
  p: 'paragraph',
  li: 'list-item',
  ul: 'bulleted-list',
  ol: 'numbered-list',
  blockquote: 'quote',
  pre: 'code',
  h1: 'heading-one',
  h2: 'heading-two',
  h3: 'heading-three',
  h4: 'heading-four',
  h5: 'heading-five',
  h6: 'heading-six'
};

/**
 * Tags to marks.
 *
 * @type {Object}
 */

export const MARK_TAGS = {
  strong: 'bold',
  em: 'italic',
  u: 'underline',
  s: 'strikethrough',
  code: 'code'
};

export const HEADINGS = [
  {
    type: 'heading-one',
    label: 'H1'
  },

  {
    type: 'heading-two',
    label: 'H2'
  },

  {
    type: 'heading-three',
    label: 'H3'
  },

  {
    type: 'heading-four',
    label: 'H4'
  },

  {
    type: 'heading-five',
    label: 'H5'
  },

  {
    type: 'heading-six',
    label: 'H6'
  }
];

export const INLINE_STYLES = [
  {icon: 'fa fa-bold', type: 'bold'},
  {icon: 'fa fa-italic', type: 'italic'},
  {icon: 'fa fa-strikethrough', type: 'strikethrough'},
  {icon: 'fa fa-underline', type: 'underlined'},
  {icon: 'fa fa-code', type: 'code'}
];

export const BLOCK_LISTS = [
  {icon: 'fa fa-list-ul', type: 'bulleted-list'},
  {icon: 'fa fa-list-ol', type: 'numbered-list'},
  {icon: 'fa fa-quote-left', type: 'quote'}
];
